package com.lagou.edu.config;

import javax.servlet.ServletContextEvent;

/**
 * @Author: Tao Zheng
 * @classNmae: MyServletContextListener
 * @packageName: com.lagou.edu.config
 * @description:
 * @DATE: 2021/6/17 17:13
 */
public class MyServletContextListener {

    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("Servlet上下文对象开始进行初始化");
        // 通过监听容器的启动，来对BeanFactory进行初始化
    }

}
